package com.hj.springframework2.config;

import com.hj.springframework2.aop.MyAnnotationBeanPostProcessor;
import com.hj.springframework2.entity.MyBean;
import com.hj.springframework2.handler.MyInvocationHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author : hujing
 * @Date: 2025/6/24 16:58
 * @Description:
 */
@Configuration
public class ApplicationConfig {
    
    @Bean
    public MyBean myBean(){
        return new MyBean();
    }
    
    @Bean
    public MyInvocationHandler myInvocationHandler(){
        return new MyInvocationHandler();
    }
    
    @Bean
    public MyAnnotationBeanPostProcessor myAnnotationBeanPostProcessor(){
        return new MyAnnotationBeanPostProcessor();
    }
}
